//
//  SoundPlayer.h
//  CoreGraphicsTest
//
//  Created by aewatson on 12/11/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

@interface SoundPlayer : NSObject {
    AVAudioPlayer *shotPlayer;
    AVAudioPlayer *explosionPlayer;
    AVAudioPlayer *blockPlayer;
    AVAudioPlayer *roundEndPlayer;
}

@property (nonatomic, retain) AVAudioPlayer *shotPlayer;
@property (nonatomic, retain) AVAudioPlayer *explosionPlayer;
@property (nonatomic, retain) AVAudioPlayer *blockPlayer;
@property (nonatomic, retain) AVAudioPlayer *roundEndPlayer;

-(AVAudioPlayer*) loadSoundWithFileName:(NSString*) fileName;

- (void) playShot;
- (void) playExplosion;
- (void) playRoundEnd;
- (void) playBlock;

@end
